package com.zerosky.crm.po;

import java.io.Serializable;

/**
 * Relation实体类 与实体表关联
 * 
 * @author hugy;
 * @since 2017-06-09
 */
public class Relation implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	
	private Role role;
	private OaMenu oaMenu;
	
	private String state="0";
	private Integer roleId;
	private Integer menuId;

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getMenuId() {
		return menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public OaMenu getOaMenu() {
		return oaMenu;
	}

	public void setOaMenu(OaMenu oaMenu) {
		this.oaMenu = oaMenu;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}